Fix 32-bit x86 compile
authorTim Deegan <Tim.Deegan@xensource.com>
Wed, 28 Feb 2007 13:22:20 +0000 (13:22 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Wed, 28 Feb 2007 13:22:20 +0000 (13:22 +0000)
xen/arch/x86/domain.c

index 1f523bce776e5fa4e3153e34f7bb071b45106d97..219a358d0b121725a7526a460e2f4f0acebe7ae3 100644 (file)
@@ -499,7 +499,7 @@ int arch_set_info_guest(
     struct domain *d = v->domain;
     unsigned long cr3_pfn = INVALID_MFN;
     unsigned long flags;
-    int i, rc, compat;
+    int i, rc = 0, compat;
 
     /* The context is a compat-mode one if *either* the calling domain 
      * or the target domain is compat-mode: if the caller is compat, it